/*
 * EnigmaGM - A feature rich guild management system.
 * Copyright (C) 2007 ajiaojr.
 * 
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 * 02110-1301, USA.
 */
package org.ajiaojr.enigmagm.client.data;

import java.io.Serializable;

public class Point implements Serializable {
  /**
   * 
   */
  private static final long serialVersionUID = -1638673627113422044L;

  private double adjustment;

  private String characterClassName;

  private int characterID;

  private String characterName;

  private double current;

  private double earned;

  private int pointSystemID;

  private String pointSystemName;

  private double spent;

  public Point() {
  }

  /**
   * @param characterName
   * @param characterClassName
   * @param pointSystemID
   * @param pointSystemName
   * @param current
   * @param earned
   * @param spent
   * @param adjustment
   * @deprecated Please use
   *             {@link #Point(int, String, String, int, String, double, double, double, double)}
   *             instead.
   */
  public Point(String characterName, String characterClassName,
      int pointSystemID, String pointSystemName, double current, double earned,
      double spent, double adjustment) {
    this.characterName = characterName;
    this.characterClassName = characterClassName;
    this.pointSystemID = pointSystemID;
    this.pointSystemName = pointSystemName;
    this.current = current;
    this.earned = earned;
    this.spent = spent;
    this.adjustment = adjustment;
  }

  public Point(int characterID, String characterName,
      String characterClassName, int pointSystemID, String pointSystemName,
      double current, double earned, double spent, double adjustment) {
    this.characterID = characterID;
    this.characterName = characterName;
    this.characterClassName = characterClassName;
    this.pointSystemID = pointSystemID;
    this.pointSystemName = pointSystemName;
    this.current = current;
    this.earned = earned;
    this.spent = spent;
    this.adjustment = adjustment;
  }

  public double getAdjustment() {
    return adjustment;
  }

  public String getCharacterClassName() {
    return characterClassName;
  }

  public int getCharacterID() {
    return characterID;
  }

  public String getCharacterName() {
    return characterName;
  }

  public double getCurrent() {
    return current;
  }

  public double getEarned() {
    return earned;
  }

  public int getPointSystemID() {
    return pointSystemID;
  }

  public String getPointSystemName() {
    return pointSystemName;
  }

  public double getSpent() {
    return spent;
  }

  public void setAdjustment(double adjustment) {
    this.adjustment = adjustment;
  }

  public void setCharacterClassName(String characterClassName) {
    this.characterClassName = characterClassName;
  }

  public void setCharacterID(int characterID) {
    this.characterID = characterID;
  }

  public void setCharacterName(String characterName) {
    this.characterName = characterName;
  }

  public void setCurrent(double current) {
    this.current = current;
  }

  public void setEarned(double earned) {
    this.earned = earned;
  }

  public void setPointSystemID(int pointSystemId) {
    this.pointSystemID = pointSystemId;
  }

  public void setPointSystemName(String pointSystemName) {
    this.pointSystemName = pointSystemName;
  }

  public void setSpent(double spent) {
    this.spent = spent;
  }
}
